home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2002 July
/
07_02.iso
/
software
/
xq-xsetup
/
files
/
setup.exe
/
{app}
/
plugins
/
XQ IIS Messages 1.xpl
< prev
next >
Wrap
Text File
|
2000-12-20
|
1KB
|
46 lines
"FILE"="Xteq Systems X-Setup Plugin 5.0"
"TYPE"="1"
"COUNT"="1"
"UIPATH"="Internet\Internet Information Server\Other"
"NAME"="Messages"
"VERSION"="1.16"
"LANGUAGE"="VBScript"
"TEXT 1"="Access Denied"
"DESCRIPTION 1"="The "Access Denied" message is sent to the user if he has tried to get a file and he has no permissions to get it."
"DESCRIPTION 2"="NOTE: This settings also affect Personal Web Server (PWS)."
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"=" "
'Declaration of some constants
sPC="HKLM\System\CurrentControlSet\Services\W3SVC\Enum\"
sP="HKLM\System\CurrentControlSet\Services\W3SVC\Parameters\"
sP2="HKLM\System\CurrentControlSet\Services\InetInfo\Parameters\"
vAD="AccessDeniedMessage" 'string
'Called when the Plugin is started
Sub Plugin_Initialize
if RegPathExists(sPC) then
s=RegReadValue(sp & vAD)
SetUIElement 1,s
else
Disable
end if
End Sub
'Called when the Plugin should validate the Data the user has entered
Sub Plugin_CheckData(ElementIndex)
End Sub
'Called when the Plugin should apply the changes
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
s=GetUIElement(1)
Call RegWriteValue(sp & vad,s,1)
End Sub
'Called when the Plugin is about to be removed from memory
Sub Plugin_Terminate
End Sub